#ifndef __BSP_SPI_FLASH_DRIVE_H
#define __BSP_SPI_FLASH_DRIVE_H
#include <stdint.h>
void W25QXX_Init(void);
int W25QXX_Read(uint8_t* buffer, uint32_t start_addr, uint16_t nbytes);
void W25QXX_Erase_Sector(uint32_t sector_addr);
void W25QXX_Page_Program(uint8_t* dat, uint32_t WriteAddr, uint16_t nbytes);
#endif